﻿using Microsoft.Extensions.Localization;
using XuZhou.SmartWaterConservancy.HeHu.Localization;
using Volo.Abp.DependencyInjection;
using Volo.Abp.Ui.Branding;

namespace XuZhou.SmartWaterConservancy.HeHu;

[Dependency(ReplaceServices = true)]
public class HeHuBrandingProvider : DefaultBrandingProvider
{
    private IStringLocalizer<HeHuResource> _localizer;

    public HeHuBrandingProvider(IStringLocalizer<HeHuResource> localizer)
    {
        _localizer = localizer;
    }

    public override string AppName => _localizer["AppName"];
}
